\doxysection{logger.\+h}
\hypertarget{bin_2include_2logger_8h_source}{}\label{bin_2include_2logger_8h_source}\index{bin/include/logger.h@{bin/include/logger.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ LOGGER\_H}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ LOGGER\_H}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <ctime>}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <sstream>}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <iomanip>}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <fstream>}}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_mag_logger}{MagLogger}}\ \{}
\DoxyCodeLine{00013\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00014\ \ \ \ \ \mbox{\hyperlink{class_mag_logger}{MagLogger}}()\ \{\}}
\DoxyCodeLine{00015\ \ \ \ \ \mbox{\hyperlink{class_mag_logger}{\string~MagLogger}}()\ \{\}}
\DoxyCodeLine{00016\ \ \ \ \ std::string\ currentTime();}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keywordtype}{void}\ debug(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00018\ \ \ \ \ \textcolor{keywordtype}{void}\ info(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00019\ \ \ \ \ \textcolor{keywordtype}{void}\ warning(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keywordtype}{void}\ error(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00021\ \ \ \ \ \textcolor{keywordtype}{void}\ fatal(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \ \ \ \ std::vector<std::string>\&\ getDebugLog()\ \{\ \textcolor{keywordflow}{return}\ debugLog;\ \}}
\DoxyCodeLine{00024\ \ \ \ \ std::vector<std::string>\&\ getInfoLog()\ \{\ \textcolor{keywordflow}{return}\ infoLog;\ \}}
\DoxyCodeLine{00025\ \ \ \ \ std::vector<std::string>\&\ getWarningLog()\ \{\ \textcolor{keywordflow}{return}\ warningLog;\ \}}
\DoxyCodeLine{00026\ \ \ \ \ std::vector<std::string>\&\ getErrorLog()\ \{\ \textcolor{keywordflow}{return}\ errorLog;\ \}}
\DoxyCodeLine{00027\ \ \ \ \ std::vector<std::string>\&\ getFatalLog()\ \{\ \textcolor{keywordflow}{return}\ fatalLog;\ \}}
\DoxyCodeLine{00028\ \ \ \ \ std::vector<std::string>\&\ getAllLog()\ \{\ \textcolor{keywordflow}{return}\ magAllLog;\ \}}
\DoxyCodeLine{00029\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keywordtype}{void}\ exportLog(\textcolor{keyword}{const}\ std::string\&\ fileName);}
\DoxyCodeLine{00031\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00032\ \ \ \ \ std::vector<std::string>\ magAllLog;}
\DoxyCodeLine{00033\ \ \ \ \ std::vector<std::string>\ debugLog;}
\DoxyCodeLine{00034\ \ \ \ \ std::vector<std::string>\ infoLog;}
\DoxyCodeLine{00035\ \ \ \ \ std::vector<std::string>\ warningLog;}
\DoxyCodeLine{00036\ \ \ \ \ std::vector<std::string>\ errorLog;}
\DoxyCodeLine{00037\ \ \ \ \ std::vector<std::string>\ fatalLog;}
\DoxyCodeLine{00038\ \};\ }
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ LOGGER\_H}}

\end{DoxyCode}
